AdminConfig.sh file

File Director Mac contains a shell script: AdminConfig.sh.

The script contains instructions to the macOS command line tool (defaults) to update keys in the  p-list  for the File Director app.  For example, this command sets the server for the File Director client to connect to:

defaults write com.ivanti.filedirector server "filedirector.mycompany.com"

Each command is clearly commented with an explanation of its function and the value of the property, for example:

# Set the option to allow the user to uninstall the application to YES (default) or NO

# YES = User can uninstall File Director via the GUI, NO = User is blocked from using the GUI uninstaller to remove File Director

#defaults write com.ivanti.filedirector allowuninstallapplication -bool NO/YES

The commands, with the exception of default mappings and exclusions, are also commented out.

To use the script:

  1. In the File Director Mac, locate the Advanced Guide folder and open the AdminConfig.sh file.
  2. Uncomment the commands for the settings that you want to apply.
  3. Update the commands with the values for the properties as described in the comments.
  4. Make the script executable.

    For example, use the change modification command: chmod +x <scriptname>

  5. Run the script and apply the settings to the users' endpoint.

Related topics

Disk access permissions